package com.nbjtjc.safe.api.safe;

import com.nbjtjc.safe.bean.Result;
import com.nbjtjc.safe.model.safe.RiskMark;
import com.nbjtjc.safe.model.safe.RiskMarkItem;
import com.nbjtjc.safe.service.safe.RiskMarkItemServiceImpl;
import com.nbjtjc.safe.service.safe.RiskMarkServiceImpl;
import com.nbjtjc.safe.service.safe.RiskPointServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/safe/riskMark")
@CrossOrigin("*")
public class RiskMarkController {


    @Autowired
    private RiskMarkServiceImpl riskMarkService;


    @PostMapping("find")
    public Result find(@RequestBody RiskMark mark){
        return riskMarkService.find(mark);
    }
}
